/*
 * FacturacionSource.java
 *
 * Created on 27 de octubre de 2006, 11:14 AM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.src.computec.facturacion.source;

import com.src.computec.radar.base.source.CoreSource;
import java.util.ResourceBundle;

/**
 *
 * @author jlperea
 */
public class FacturacionSource 
{
    protected static FacturacionSource noClassSource;
    
    private static ResourceBundle facturacionSetup;
    private static ResourceBundle facturacionErrorSetup;    
    
    /** Creates a new instance of PathImage */
    protected FacturacionSource() {        
        facturacionSetup = ResourceBundle.getBundle("FacturacionSetup");
        facturacionErrorSetup = ResourceBundle.getBundle("FacturacionErrorSetup");        
    }

    public static FacturacionSource getInstance() {
        if (noClassSource == null) {
            noClassSource = new FacturacionSource();
        }
        return noClassSource;
    }

    public String getFacturacionSetupKey(String key) {
        return facturacionSetup.getString(key); 
    }
   
    public String getFacturacionErrorSetupKey(String key) {
        return facturacionErrorSetup.getString(key); 
    }    
}
